﻿namespace ClassLibrary1
{
    public class GenericClass<T> where T : class
    {
        public void DoSomething(T mork)
        {
        }

        public T MakeT()
        {
            return default(T);
        }

        public static void StaticReferences()
        {
            var genericClass = new GenericClass<object>();
            genericClass.DoSomething(new object());
            var makeT = genericClass.MakeT();
            var class1 = new GenericClass<Class1>();
            class1.DoSomething(new Class1());
            var t = class1.MakeT();
        }
    }
}
